package qf.sail.entity;

import java.math.BigDecimal;

public class Account extends BaseEntity{

    private String phone;   //手机号

    private String password;    //登录密码

    private int sex = 0;    //性别 默认0

    private String birth;   //出生日期

    private String headPic;    //头像地址

    private BigDecimal balance; //用户余额

    public Account() {
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getHead_pic() {
        return headPic;
    }

    public void setHead_pic(String head_pic) {
        this.headPic = head_pic;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Account{" +
                "phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", sex=" + sex +
                ", birth='" + birth + '\'' +
                ", head_pic='" + headPic + '\'' +
                '}';
    }
}
